import Vue from "vue";
//1.注意elm引入在vue的下面
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
import App from "./App.vue";
import router from "./router";
//2.使用elm插件
Vue.use(ElementUI);

Vue.config.productionTip = process.env.NODE_ENV === "production";
console.log(process.env.NODE_ENV); //输出当前生产环境和开发环境

new Vue({
  router,
  render: h => h(App)
}).$mount("#app");
